home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / rectzoom.z / rectzoom
Encoding:
Text File  |  2002-10-03  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. rrrreeeeccccttttzzzzoooooooommmm((((3333GGGG))))                                                      rrrreeeeccccttttzzzzoooooooommmm((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rrrreeeeccccttttzzzzoooooooommmm - specifies the zoom for rectangular pixel copies and writes
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd rrrreeeeccccttttzzzzoooooooommmm((((xxxxffffaaaaccccttttoooorrrr,,,, yyyyffffaaaaccccttttoooorrrr))))
  13.      ffffllllooooaaaatttt xxxxffffaaaaccccttttoooorrrr,,,, yyyyffffaaaaccccttttoooorrrr;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _x_f_a_c_t_o_r   expects the multiplier of the rectangle in the x direction.
  17.  
  18.      _y_f_a_c_t_o_r   expects the multiplier of the rectangle in the y direction.
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      rrrreeeeccccttttzzzzoooooooommmm specifies independent _x and _y zoom factors that rrrreeeeccccttttccccooooppppyyyy,
  22.      rrrreeeeccccttttwwwwrrrriiiitttteeee, and llllrrrreeeeccccttttwwwwrrrriiiitttteeee use.  rrrreeeeccccttttzzzzoooooooommmm scales the source image by the
  23.      numbers specified by _x_f_a_c_t_o_r and _y_f_a_c_t_o_r.  If rrrreeeeccccttttzzzzoooooooommmm((((2222....0000,,,, 3333....0000)))) is
  24.      called, and the following rectangle is copied:
  25.  
  26.           1  3
  27.           5  7
  28.  
  29.      the copy will be:
  30.  
  31.           1  1  3  3
  32.           1  1  3  3
  33.           1  1  3  3
  34.           5  5  7  7
  35.           5  5  7  7
  36.           5  5  7  7
  37.  
  38.      Although zoom factors are specified as floating point values, some
  39.      graphics systems do not support fractional zooms.  These systems round
  40.      each floating point zoom factor to the nearest integer value.  Systems
  41.      that do support fractional zoom replicate source image pixels when the
  42.      zoom factor is greater than 1.0, and decimate the source image when the
  43.      zoom factor is less than 1.0.
  44.  
  45.      By default, _x_f_a_c_t_o_r and _y_f_a_c_t_o_r are 1.0.
  46.  
  47. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  48.      lrectwrite, pixmode, rectcopy, rectwrite
  49.  
  50. NNNNOOOOTTTTEEEE
  51.      This subroutine is available only in immediate mode.
  52.  
  53.      IRIS-4D G, GT, and GTX models, the Personal Iris, Iris Entry, Indy, XL,
  54.      XS, XS24, XZ, Elan, and Extreme systems do not support fractional zoom.
  55.      The Personal Iris, XS, XS24, XZ, Elan, and Extreme systems do not support
  56.      zoom factors greater than 255.0.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.